package com.yoyo.system.domain;

import com.yoyo.common.core.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author zyl
 * @Date 2021/8/14 -13:36
 */
@Data
public class SysConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long configId;

    @NotBlank(message = "参数名称不能为空")
    @Size(max = 100, message = "参数名称字符不能超过100字符")
    private String configName;

    @NotBlank(message = "参数Key不能为空")
    @Size(max = 100, message = "参数key字符不能超过100字符")
    private String configKey;

    @NotBlank(message = "参数value不能为空")
    @Size(max = 100, message = "参数value字符不能超过500字符")
    private String configValue;

    private String configType;
}
